import { createStore,applyMiddleware,combineReducers } from "redux";

import countReducer from './reducers/count_reducer'
import personReducer from "./reducers/person";

import thunk from "redux-thunk";

const allReducer = combineReducers({
  he:countReducer,
  rens:personReducer
})

export default createStore(allReducer,applyMiddleware(thunk))